﻿@{
    ViewBag.Title = "Index";
}

@RenderPage("~/Areas/EasyUI/Views/Shared/_Bootstrap.cshtml")
@RenderPage("~/Areas/EasyUI/Views/Shared/_EasyUI.cshtml")

<style type="text/css">
    .divlist div
    {
        border: 1px solid #D4D4D4;
        height: 20px;
        padding: 10px 0px 10px 0px;
        text-align: center;
    }

    .easyui-accordion .panel
    {
        width: 100% !important;
    }

    .accordion-header
    {
        background: rgb(250,250,250) !important;
        width: auto !important;
    }

    .panel-title
    {
        color: #777 !important;
    }

    .accordion-body
    {
        width: auto !important;
    }
</style>

@model Model.Admin.UserInfo
 
@Html.AntiForgeryToken()
 
<div class="easyui-layout" id="layouts" style="width:100%">
    <div data-options="region:'north',collapsible:false" title="North" style="height:10%">
        @*北*@

    </div>

    <div data-options="region:'south',collapsible:false" title="South" style="height:10%;">
        @*南*@


    </div>

    <div data-options="region:'east',split:true" title="East" style="width:10%;">
        @*东*@


    </div>

    <div data-options="region:'west',split:true" title="West" style="width:10%;">
        @*西*@

        <div id="accordions" class="easyui-accordion" data-options="multiple:true">
            @*左侧手风琴*@
        </div>
    </div>

    <div data-options="region:'center',title:'Main'" id="maincontext">
        <div id="tabs" class="easyui-tabs" fit="true" border="false">
            <div title="欢迎使用" style="padding:20px;overflow:hidden;" id="home">
                <h1>Welcome!</h1>
            </div>
        </div>
    </div>
</div>

<div id="menus" class="easyui-menu" style="width:150px;">
    <div id="menu-tabclose">关闭</div>
    <div id="menu-tabcloseall">全部关闭</div>
    <div id="menu-tabcloseother">除此之外全部关闭</div>
    <div class="menu-sep"></div>
    <div id="menu-tabcloseright">当前页右侧全部关闭</div>
    <div id="menu-tabcloseleft">当前页左侧全部关闭</div>
    <div class="menu-sep"></div>
    <div id="menu-exit">退出</div>
</div>

<script src="/Areas/EasyUI/Scripts/Admin/Admin.js"></script> 

<script type="text/javascript">

    $(function () {
        InitHeight();
        TabEvent();
        AddAccordion();
    });
</script>